<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="layout :: htmlhead" th:with="title='后台管理'">
</head>
<body>
	<div class="layui-layout layui-layout-admin">
		    <div class="layui-header">
        <a href="/" class="layui-hide-xs" style="font-weight: bold;">
        <div  class="layui-logo">通用数据列表 </div>
        </a>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="/login.html">登录</a></li>
            <li class="layui-nav-item"><a href="/registry.html">注册</a></li>
        </ul>
	    <ul class="layui-nav layui-layout-right">
	      <li class="layui-nav-item">
	        <a href="javascript:;" class="profileImg">
	        <img src='http://t.cn/RCzsdCq' class='layui-nav-img'></img>
	        国家
	        </a>
	        <dl class="layui-nav-child">
                    <dd><a href="">中文</a></dd>
                    <dd><a href="">英文</a></dd>
                    <dd><a href="">俄文</a></dd>
	        </dl>
	      </li>
        </ul>
    </div>
	<div class="layui-body">
         <div class="layui-container">
             <div class="layui-row">
                 <div class="layui-col-xs9" style="margin-top: 50px;">
					<p th:if="${param.logout}" class="alert">You have been logged out</p>
					<p th:if="${param.error}" class="alert alert-error">There was an error, please try again</p>
					<h2>Login with Username and Password</h2>
					<form name="form" th:action="@{/user/login}" action="/user/login" method="POST">
						        <div class="layui-input-inline">
		            <input type="text" name="username" required lay-verify="required" placeholder="用户名" autocomplete="off"
		                   class="layui-input">
			        </div>
			        <div class="layui-input-inline">
			            <input type="password" name="password" required lay-verify="required" placeholder="密码" autocomplete="off"
			                   class="layui-input">
			        </div>
			        <div class="layui-input-inline login-btn">
			            <button lay-submit lay-filter="login" class="layui-btn">登录</button>
			        </div>
			        <hr/>
			        <p><a href="register.html" class="fl">立即注册</a><br>
			        <a href="javascript:;" class="fr">忘记密码？</a></p>
					</form>
				</div>
			</div>
		</div>
	</div>
	</div>
</body>
<script type="text/javascript">


</script>
</html>